; This program adds 1 to register A until it equals 64, then halts.

loop:
inc a
cmp 64
jnz loop

hlt